package edu.sctu.practice.class02.yangshengyu.three10;

import java.util.Scanner;

/**
 * Created by Cullen on 2015/8/13.
 */
public class N31 {
    public static void main(String[] args) {
        System.out.print("请输入a的值：");
        Scanner input=new Scanner(System.in);
        int a=input.nextInt();
        System.out.print("请输入b的值：");
        Scanner input2=new Scanner(System.in);
        int b=input.nextInt();
        int c=a*a+b*b;
        if(c>100){
            int d=c/100;
            System.out.print(d);
        }else {
            int e=a+b;
            System.out.print(e);
        }
    }
}
